package com.lindroy.androidplayer.logic.model

/**
 * @author Lin
 * @date 2021/4/6
 * @function 返回数据的基类
 */
abstract class BaseModel {
    val errorCode: Int = 0
    var errorMsg: String = ""
    val success: Boolean
        get() = errorCode == 0

}